package org.zerg.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.zerg.entity.Manage;

public interface ManageDao {

	//查找登录
	List<Manage> checkManage(@Param("admin")String admin,@Param("password")String password);

	int getManageTotal();

	List<Manage> getManageAllPage(int i);

	void inserManage(Manage manage);
	
	int updateManage(Manage manage);
	
	int deleteManage(int id);

	Manage isAdmin(String admin);

	Manage isName(String name);
}
